import Vue from 'vue'
import VueRouter from 'vue-router'
import findRoutes from './modules/findRoutes'
import bokeRoutes from './modules/bokeRoutes'
import mineRoutes from './modules/mineRoutes'
import kgeRoutes from './modules/kgeRoutes'
import cloudCountryRoutes from './modules/cloudCountryRoutes'
Vue.use(VueRouter)

const routes = [
  ...findRoutes,
  ...bokeRoutes,
  ...mineRoutes,
  ...kgeRoutes,
  ...cloudCountryRoutes
]

const router = new VueRouter({
  routes
})

// router.beforeEach((from, to, next) => {

// })

export default router
